package com.example.qqemailtest.mapper;

import com.example.qqemailtest.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RegisterMapper {
//    对用户进行注册
int registry(User user);
//根据邮箱进行查询用户
User selectByEmail(@Param("email") String email);
//登入
    User login(User user);
}
